\documentclass[12pt,a4paper,final]{ufpr}

\usepackage[brazil]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amssymb,amsmath,amsthm}
\usepackage{epsfig,subfig}
\usepackage{multirow}
\usepackage{graphicx,float}
\usepackage{caption}
\usepackage{setspace}
\usepackage{ps-macros}
\usepackage{algorithm,algpseudocode}

\input{info}

\begin{document}

\input{capa}
\input{frosto}
\input{termo}

%\singlespacing           % espacamento 1 - capa UFPR%
%\onehalfspacing          % espacamento 1/2 %
\doublespacing            % espacamento 2 - UFPR %

\pagestyle{headings}
\pagenumbering{roman}
\input{agradecimentos}
\input{toc}
\input{resumo}
\input{abstract}

\pagenumbering{arabic}
\input{capitulo1}
\input{capitulo2}
\input{capitulo3}
\input{capitulo4}
%\input{capitulo5}
\input{capitulo6}
%\input{capitulo7}
\input{capitulo8}

\bibliographystyle{brazil}
\bibliography{mestrado}
\addcontentsline{toc}{chapter}{\MakeUppercase{Bibliografia}}

\end{document} 